
require('../config/mongodb')()

var news_category4Model = require('../models/news_category4Model')

var fs = require('fs')

var str = fs.readFileSync('../db/news_category4.json')

var arr = JSON.parse(str)

arr.forEach(element => {
    new news_category4Model(element).save(function(err,item){

        console.log(item);
    });
});
